<template>
    <!-- 商品信息 -->
    <div>
        <Screening />
    </div>
    <div class="productContent">
        <div class="w">
            <div class="prent">
                <div class="prent_left">
                    <div class="prent_box_left">
                        <div class="alathe_box_bnt">
                            <div class="alathe_element">
                                <img width="170px" src="@/assets/img/header/ti.png" alt="">
                                <div class="alathe_element_size">C6140-1500普通车床 通孔直径82 电动四工位刀架</div>
                                <div class="alathe_element_detail">查看详情 >></div>
                            </div>
                        </div>
                    </div>
                    <div class="prent_left_btn">
                        <Tabwindow />
                    </div>
                </div>
                <div class="prent_right">
                    <div class="prent_right_top"><img width="14px" height="16px" src="@/assets/img/header/hot.png" alt="">
                        <h3>推荐商品</h3>
                    </div>
                    <div class="prent_right_btn">
                        <div class="prent_box_bnt">
                            <div class="prent_element">
                                <img width="170px" src="@/assets/img/header/ti.png" alt="">
                                <div class="prent_element_size">C6140-1500普通车床 通孔直径82 电动四工位刀架</div>
                                <div class="prent_element_detail">查看详情 >></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
import Screening from '@/components/screening/index.vue'
import Tabwindow from '@/components/tab_window/index.vue'
</script>

<style lang="scss" scoped>
.w {
    width: 75vw;
    margin: 0 auto;
}

.productContent {
    margin-top: 10px;
    background-color: #f6f6f6;
    overflow: hidden;

    .prent {
        display: flex;
        margin-top: 10px;
        height: 45.125vw;
        margin-bottom: 30px;

        .prent_left {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background-color: #fff;
            width: 61.25vw;
            height: 45.125vw;
            padding: 0 5px 10px 10px;

            .prent_box_left {
                display: flex;
                flex-wrap: wrap;
            }

            .alathe_box_bnt {
                display: flex;
                flex-wrap: wrap;
                width: 11.9vw;
                height: 14vw;

                .alathe_element {
                    width: 12.625vw;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;

                    .alathe_element_size {
                        font-size: 13px;
                        color: #555;
                        text-align: center;
                        margin: 10px 0;
                        padding: 0 15px;
                    }

                    .alathe_element_detail {
                        text-align: center;
                        font-weight: 700;
                        font-size: 14px;
                        color: #D90424;
                    }
                }
            }

            .prent_left_btn {
                margin-top: 5px;
            }
        }

        .prent_right {
            width: 13.125vw;
            height: 45.125vw;
            margin-left: 10px;
            background-color: #fff;
            padding: 15px 5px 0;

            .prent_right_top {
                display: flex;
                align-items: center;
                padding-left: 15px;

                h3 {
                    margin-left: 10px;
                }
            }

            .prent_right_btn {
                display: flex;
                flex-direction: column;
                align-items: center;

                .prent_box_bnt {
                    display: flex;
                    flex-wrap: wrap;
                    width: 12.25vw;
                    height: 14vw;

                    .prent_element {
                        width: 12.625vw;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;

                        .prent_element_size {
                            font-size: 13px;
                            color: #555;
                            text-align: center;
                            margin: 10px 0;
                            padding: 0 15px;
                        }

                        .prent_element_detail {
                            text-align: center;
                            font-weight: 700;
                            font-size: 14px;
                            color: #D90424;
                        }
                    }
                }
            }
        }
    }
}
</style>